ppapersize
[label] [A4]
\setuplayout
[page]
\setuppaper
[nx=3,
ny=10,
dx=1mm,
dy=1mm]
\setuplayout
[horoffset=50mm,
veroffset=10mm]
\setuparranging
[XY]
\setupbackgrounds
[page]
[frame=on]
\starttext
\dorecurse{56}
{\startpagemakeup
\midalign
as may be different because formula’s
alignment is midaligned.
Thanks again to add it todo list.
Best regards,
Dalyoung___
If your question is of interest to others as well, please add an entry to the
Wiki!
\setupfootertexts[][\midaligned{\userpagenumber/\lastuserpage}]
\starttext
\switchtobodyfont[18pt]
\definehspace[hspacing][0.15em]
О\hspace[hspacing]Т\hspace[hspacing]П\hspace[hspacing]Р\hspace[hspacing]Е\hspace[hspacing]М\hspace[hspacing]Н\hspace[hspacing]И\hspace[hspacing]Ц\hspace[hspacing] А\\
\switchto
[][\midaligned{\userpagenumber/\lastuserpage}]
\starttext
\switchtobodyfont[18pt]
\definehspace[hspacing][0.15em]
О\hspace[hspacing]Т\hspace[hspacing]П\hspace[hspacing]Р\hspace[hspacing]Е\hspace[hspacing]М\hspace[hspacing]Н\hspace[hspacing]И\hspace[hspacing]Ц\hspace[hspacing] А\\
\switchtobodyfont[9pt
t 'chapter'
>> titles do?
>>
>> % ---begin---
>> \define[2]\placePartTitle{\midaligned{#2}}
>>
>> \definehead [Part] [part]
>> \setuphead[Part]
>> [ placehead=yes,
>> style={\tfd},
>> command=\placePartTitle,
>> ]
>
> \setuphead
> [
f
> the page.
> >
> > If it were a 'chapter' title then I could insert '\\' to cause a line break
> at that point. However this does not seem to work for 'part'.
> >
> > Is there a way of making 'part' titles wrap the same way that 'chapter'
> titles do?
> >
> >
break at
that point. However this does not seem to work for 'part'.
Is there a way of making 'part' titles wrap the same way that 'chapter' titles
do?
% ---begin---
\define[2]\placePartTitle{\midaligned{#2}}
\definehead [Part] [part]
\setuphead[Part]
[ placehead=yes,
style={\tfd
'.
Is there a way of making 'part' titles wrap the same way that 'chapter' titles
do?
% ---begin---
\define[2]\placePartTitle{\midaligned{#2}}
\definehead [Part] [part]
\setuphead[Part]
[ placehead=yes,
style={\tfd},
command=\placePartTitle,
]
\starttext
\startPart[title={A very long
\fi}
\definepapersize[Vignette][width=80.0mm,height=50.0mm]
\setuppapersize [Vignette][A4]
\setuparranging [2*5*double*2*5]
\setuplayout
[margin=0pt,
location=middle,
marking=on]
\showframe
\starttext
\dorecurse{20}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
\stoptext
My aim
gt; marking=on,
> margin=0mm,
> topspace=0mm,
> backspace=0mm,
> width=fit,
> %header=0mm,
> %footer=0mm,
> %align=middle,
> ]
>
> \showframe
> %\setuppagenumbering[state=stop]
> \setuppagenumbering[alternative=doublesided]
>
> \starttext
> \do
{20}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.
{\doifsomething{\rawstructurelistuservariable{author}}
> {{\it\structurelistuservariable{author}} --\crlf}%
> #1%
> \doifsomething{\rawstructurelistuservariable{subtitle}}
> {\crlf\structurelistuservariable{subtitle}}}
>
> \setuphead
>
[section]
\blank
\midaligned{\it\structureuservariable{author}}
\blank
\stopsetups
\setuphead
[subject]
[align=flushleft,
style=\bfb]
\definenote[someothername]
\setupnote
[someothername]
[rule=off]
\setupnotation
[someothername]
[numberconversion=set 2]
\setupnotation
title}}}
\setuphead[section][
after=\setup{section},
align=center,
number=no,
style=\bold
]
\startsetups section
\blank
\midaligned{\it \structureuservariable{author}}
\blank
\stopsetups
%\foonote{\structureuservariable{affiliation}}
%only "thanks" seems to work.
\definenote[t
ructurelistuservariable{subtitle}}}
\setuphead[section][
after=\setup{section},
align=center,
number=no,
style=\bold
]
\startsetups section
\blank
\midaligned{\it \structureuservariable{author}}
\blank\stopsetups
%\foonote{\structureuservariable{affiliation}}
\definenote[thanks]%[n
,2mm) withpen pensquare scaled 1.5mm ;
> draw (0,0)--(TextWidth,0) withpen pensquare scaled 1.0mm ;
>clip currentpicture to unitsquare yscaled 1cm xscaled TextWidth
> \stopMPcode
> \stopsetups
>
> \define[2]\placePartTitle{\midaligned{#2}}
> %% The above line is w
Double rule above part title
\startsetups PartSetup
\setupheader[state=empty]
\par
\startMPcode
draw (0,2mm)--(TextWidth,2mm) withpen pensquare scaled 1.5mm ;
draw (0,0)--(TextWidth,0) withpen pensquare scaled 1.0mm ;
clip currentpicture to unitsquare yscaled 1cm xscaled TextWidth
\stop
in \setuplist[chapter], obviously):
\define[1]\SectionTocEntry{%
#1\crlf% title
\midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}%
}
try \startalignment[middle] ... \stopalignment instead of \midaligned
My problem is that at the moment, the four authors
) with the other two below(also centred).
Here is my MWE for the essential bit (which is then called in as
textcommand=\SectionTocEntry in \setuplist[chapter], obviously):
\define[1]\SectionTocEntry{%
#1\crlf% title
\midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable
in \setuplist[chapter], obviously):
\define[1]\SectionTocEntry{%
#1\crlf% title
\midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}%
}
try \startalignment[middle] ... \stopalignment instead of \midaligned
My problem is that at the moment, the four
Thank you. Ci siamo quasi, ma non del tutto! Nearly there!
The \midaligned{... } was obviously preventing the \crlf in the
\startchapter from working. Removing it altogether allowed the split to
occur but obviously not centred. So i have tried now adding the
\startalignment[middle
for the essential bit (which is then called in as
textcommand=\SectionTocEntry in \setuplist[chapter], obviously):
\define[1]\SectionTocEntry{%
#1\crlf% title
\midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}%
}
try \startalignment[middle
is then called in as
textcommand=\SectionTocEntry in \setuplist[chapter], obviously):
\define[1]\SectionTocEntry{%
#1\crlf% title
\midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}%
}
My problem is that at the moment, the four authors appear on a single
line
not to work in this way.
What am I missing?
kind regards
Willi
\definefiller
[Titlerule]
[alternative=rule,
left=\hfil,
right=\hfil,
method=local,
width=50mm,
height=2pt,
leftmargin=1pt,
rightmargin=1pt,
align=middle]
\starttext
\midaligned{Some text}
\filler[Titlerule
figure[frontpage-logo.png][width=12cm]} % Place course titles\blank[6*big]\color[Modu_Blue]{\midaligned{\bfc \MyManual}} \blank[4*big]\color[Modu_Blue]{\midaligned{\tfc \MyTitle}} \blank[2*big]\color[Modu_Blue]{\midaligned{\tfc \MySubtitleOne}} \blank[2*big]\color[Modu_Blue]{\midaligned{\tfc \MySubti
[frontpage-logo.png][width=12cm]}
% Place course titles
\blank[6*big]
\color[Modu_Blue]{\midaligned{\bfc \MyManual}}
\blank[4*big]
\color[Modu_Blue]{\midaligned{\tfc \MyTitle}}
\blank[2*big]
\color[Modu_Blue]{\midaligned{\tfc \MySubtitleOne}}
\blank[2*big]
\color[Modu_Blue]{\midaligned{\tfc
\startcomponent currentcomponent \product product % Front page layout\startstandardmakeup % Place logo centered on page \framed[height=5cm,width=broad,frame=off] {\externalfigure[frontpage-logo.png][width=12cm]} % Place course titles\blank[6*big]\color[Modu_Blue]{\midaligned{\bfc \MyManual
]\myChapterCommand{%
\midaligned{{\filler[ChapterLeftRule]}#1.~#2{\filler[ChapterRightRule]}}
}
\setuphead[chapter]
[textstyle={\setcharactercasing[WORD]\ssa},
command=\myChapterCommand]
\starttext
\startchapter[title={My Chapter Title}]
\input knuth.tex
\stopchapter
middle and right alignment.
\define[2]\MemoirChapter
{\midaligned{\startoverlay
{#1}
{#2}
\stopoverlay}}
Julian
On 17/8/20 4:54 pm, Aditya Mahajan wrote:
On Mon, 17 Aug 2020, jbf wrote:
Am completely new to using Metafun, which I presume I would need to use
to achieve
an, since at least it seems to work
> (am including just the definition part of your example), So at least I can
> get middle and right alignment.
>
> \define[2]\MemoirChapter
> {\midaligned{\startoverlay
> {#1}
> {#2}
> \stopoverlay}}
>
> Julian
I meant to include an example of what I mean, since at least it seems to
work (am including just the definition part of your example), So at
least I can get middle and right alignment.
\define[2]\MemoirChapter
{\midaligned{\startoverlay
{#1}
{#2}
\stopoverlay}}
Julian
On 17
fi}
>
> \setuppapersize [A10][A8]
> \setuparranging [1*4*reversed]
> \setuplayout[margin=0pt, width=fit]
>
> \showframe
>
> \starttext
> \dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
> \stoptext
> ```
>
> imposition scheme i
{#1}000\arrangedpageA % 4
\poparrangedpages
\fi}
\setuppapersize [A10][A8]
\setuparranging [1*4*reversed]
\setuplayout[margin=0pt, width=fit]
\showframe
\starttext
\dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
\stoptext
```
imposition scheme
{ward}
\blank
\midaligned{\subpagenumber}
\stopTEXpage
\startTEXpage
\samplefile{ward}
\blank
\midaligned{\subpagenumber}
\stopTEXpage
\stoptext
Wolfgang
___
If your question is of interest
in:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
The .tiff-image is always too big for this forums upper limit
\starttext
\midaligned{
\externalfigure[image-no-red-frame.png][width=15mm,height=25mm] \hskip12pt
\externalfigure[imagered-frame.png][width=15mm,height=25mm] \hskip12pt
\externalfigur
the inner effect appears two times.
I have two more questions.
1. I’d like to put a title only in a page using the following. How to
put a title as center aligned?
\setuphead[title][align=middle]
%
\page[yes]
\dontleavehmode\blank[5cm]
\title{Why, Math?}
\blank[big]
\midaligned{\fancy Why do
questions.
1. I’d like to put a title only in a page using the following. How to put a
title as center aligned?
%
\page[yes]
\dontleavehmode\blank[5cm]
\title{Why, Math?}
\blank[big]
\midaligned{\fancy Why do we learn mathematics?}
\vfill
\midaligned{\tfb Institution}
\blank[2cm]
\page
{\structureuservariable{image}}{\midaligned{\externalfigure[\structureuservariable{image}]}\endgraf}
\headsetupspacing
\setbox\scratchbox\hbox{\headnumbercontent}
\hangindent\dimexpr\wd\scratchbox+\headnumberdistance\relax
\noindent
\box\scratchbox\hskip\headnumberdistance
l]
\startstandardmakeup
\midaligned{\CruxFramed{\ssd OpenStack}}
\vfil
\stopstandardmakeup
\stopBG
\startfrontmatter
\setuplayout[reset]
\setuppagenumbering[conversion=romannumerals]
\setuppagenumber[number=1]
\completecontent
%\completelistoffigures
%\completelistof
dth=.5\textwidth,height=.5\textheight]
\bTR
\bTD
7·3 apples are on a tree. Anne picks 4·3 apples.
\blank[.5em]
How many apples remain on the tree?
\vfilll
\midaligned{\externalfigure[apple]}
\vfilll
\eTD
\eTR
\
ion}
[………]
Here is the example:
%%% begin bug-combination.tex
\setupcolors[state=start]
\useMPlibrary[dum]
\starttext
This is our first picture.
\placefigure[none]{}{\externalfigure[dummy][width=6cm]}
\blank
This is a combination of 3 figures on two lines
\placefigure[none]{}
{
\midalig
bug-combination.tex
\setupcolors[state=start]
\useMPlibrary[dum]
\starttext
This is our first picture.
\placefigure[none]{}{\externalfigure[dummy][width=6cm]}
\blank
This is a combination of 3 figures on two lines
\placefigure[none]{}
{
\midaligned{
\startcombination[
tion={right,bottom}]
{\getmarking[chapternumber]}
\globaldisablemode[chapterpage]
} {
\setlayer
[chapter]
[x=\dimexpr\backspace+\textwidth+\rightmargindistance\relax,
y=3in,
location={right,bottom}]
{\doifright
ut of the nodes. The main problem is to use them
> in a layout and in a sequences other the one they appear in the xml data file.
>
> In the current (mkii) file I have something like this:
> \midaligned{\XMLflush{formalname}, \XMLflush{informalname}}.
>
>
> Another point on my
I can take the information out of the nodes. The main problem is to use them in
a layout and in a sequences other the one they appear in the xml data file.
In the current (mkii) file I have something like this:
\midaligned{\XMLflush{formalname}, \XMLflush{informalname}}.
Another point on my
Thanks, Wolfgang! Will do.
Alan
On Mon, May 15, 2017 at 1:18 PM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:
> Put the table in a float or use \midaligned.
>
> \starttext
>
> \startmiddlealigned
> \bTABLE
> \bTR\bTD Sun \eTD\bTD
Put the table in a float or use \midaligned.
\starttext
\startmiddlealigned
\bTABLE
\bTR\bTD Sun \eTD\bTD Aries\eTD\eTR
\eTABLE
\stopmiddlealigned
\startplacetable[location=none]
\bTABLE
\bTR\bTD Sun \eTD\bTD Aries\eTD\eTR
\eTABLE
\stopplacetable
\stoptext
Wolfgang
to the
requirements of an external publisher.
One of the items is the content and layout of the chapter-heads.
What would be needed as a chapter-head, of Chapter 1 for instance, is, on two
or, occasionally three, lines:
- Chapter 1 (midaligned, boldface, smallish size (\tfa))
- some vertical space
he above may be abstracted into three categories:
>
> \startitemize[packed]
>\item
>Exists, but unknown ({\bf missing value})
>\startformula
> \exists x\,\hbox{Yalta}(\hbox{Winston},x,\hbox{Churchill})
>\stopformula
>\item
>Nonexistent, not a
{Winston},\hbox{Churchill})
\stopformula
\item
Not known to exist ({\bf no-information null})
\startformula
\hbox{Yalta}_{-2}(\hbox{Winston},\hbox{Churchill})
\stopformula
\stopitemize
\midaligned{\tfxx
\starttable[|l|l|l|]
\NC \THREE Yalta \cite[Atzeni:1993] \NC
Dear all,
Presently I’m restyling a PhD-dissertation to make it conform to the
requirements of an external publisher.
One of the items is the form of the chapter-heads.
What would be needed on the first page of a chapter, Chapter 1 for instance, is:
- Chapter 1 (midaligned, boldface
... How easy! Thank you. Lukas
On Tue, 09 Aug 2016 22:50:05 +0200, Wolfgang Schuster
<schuster.wolfg...@gmail.com> wrote:
Lukáš Procházka <mailto:l...@pontex.cz>
9. August 2016 um 22:43
Hello,
I need to produce a \section with midaligned number and midaligned
text bellow the
Lukáš Procházka <mailto:l...@pontex.cz>
9. August 2016 um 22:43
Hello,
I need to produce a \section with midaligned number and midaligned
text bellow the number, like:
|<- text width -->|
"
I.
Section
Bla bla
...
"
I tried
Hello,
I need to produce a \section with midaligned number and midaligned text bellow
the number, like:
|<- text width -->|
"
I.
Section
Bla bla
...
"
I tried this:
\define[2]\Sec{\midaligned{#1.}\midaligned{#2}}
\s
olor{myred};
\stopuseMPgraphic
\midaligned{\useMPgraphic{test}}
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.
=no]
\midaligned{\bf TEXT before chapter title}
\startchapter[title=test]
\input knuth
\stopchapter
\stop
\startchapter[title=Normal chapter start]
\input knuth
\stopchapter
\stoptext
Thanks for looking
On 1/20/2016 4:27 PM, Mohammad Hossein Bateni wrote:
Hello,
There seems to be a bug in RTL documents when \framed goes in
\leftaligned, \midaligned, or \rightaligned AND corner=round option is
used. (I don't know what other options trigger the bug.)
Here is the MWE (verified in ConTeXt ver
Hello,
There seems to be a bug in RTL documents when \framed goes in \leftaligned,
\midaligned, or \rightaligned AND corner=round option is used. (I don't
know what other options trigger the bug.)
Here is the MWE (verified in ConTeXt ver: 2016.01.18 22:21 MKIV beta fmt:
2016.1.19 int: english
Hello Wolfgang or Hans?
Can one of you help me please. Iwant something like this:
\setuppapersize[S6][S6]
\setupinteraction[state=start]
\setupcolors[state=start]
\starttext
Here is an example: by saying
\type{\tooltip[left]{Example}{Is it nice}}, we get
\blank
\midaligned
: On the first page, footnotes run into each other. On
the second page, footnote runs into text.
\setuppapersize[A5][A5]
\setupbodyfont[10pt]
\definestartstop[abstract]
[before={\blank\midaligned{\bf Abstract}\startnarrower[2*middle]},
after={\stopnarrower\blank[big]}]
\definecolumnset[TwoColumns
]
\setupinterlinespace[3.8ex]
\starttext
\input ward
\input ward
\midaligned{%
\setupTABLE[frame=off]%
\setupTABLE[offset=1em]%
\setupTABLE[r][each][topframe=on,bottomframe=on]%
\setupTABLE[c][1][align={flushleft,high},width=1.5in]%
\setupTABLE[c][2][align={flushleft,lohi},width=4.0in]%
\bTABLE
in the output are produced by the spaces between the tags
(\xmlstrip doesn’t seem to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces
to remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment
when you replace \midaligned with
a framedtext
environment in combination with “location=middle” or use a float command
like \placefigure.
I think I can reduce the number of places where spaces have to be suppressed.
With just 2 \removeunwantedspaces and 1 \ignorespaces I get rid of most
are produced by the spaces between the tags (\xmlstrip
doesn’t seem to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces to
remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment in combination with “location
When typesetting inside a \midaligned a version with markers around:
A\startembeddedxtable\xmlflush{#1}\stopembeddedxtable B
then the A and B show up centered and have the width of the table material
between them.
The embeddedxtable stuff is placed outside that range starting at the location
Further experimenting with different ConTeXt versions:
Trying earlier and latest beta, placing the embeddedxtable inside \midaligned:
version 2014.11.26 puts the embbedxtable to the right over distance
width-of-table.
version 2015.03.25 and version 2015.05.23 put the left side
ConTeXt versions:
Trying earlier and latest beta, placing the embeddedxtable inside \midaligned:
version 2014.11.26 puts the embbedxtable to the right over distance
width-of-table.
version 2015.03.25 and version 2015.05.23 put the left side of the
embeddedxtable in the middle of the page
Hans van der Meer
On 24 May 2015, at 13:49, Meer, H. van der
h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote:
Further experimenting with different ConTeXt versions:
Trying earlier and latest beta, placing the embeddedxtable inside \midaligned:
version 2014.11.26 puts the embbedxtable
With the construct
\startembeddedxtable\xmlflush{#1}\stopembeddedxtable
placed inside a
\midaligned
I used to get a neatly centered content. But now the material is shifted to the
right, even sticking out of the page.
Has something changed in the embeddedxtable alignment handling since
/td/tr
trtdD/td/tr
/tbody
/table
/root
\stopbuffer
\midaligned{\xmlprocessbuffer{root}{the-table}{}}
\blank
The equalsign (=) is added to \type{\startxmlsetups xmlcommon:tr} in order to
show the spurious whitespace injected.
\stoptext
to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces to
remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment in combination with “location=middle” or use a float command like
\placefigure.
\startxmlsetups
]
\placebookmarks[section][force=yes]
% Let us say hello in many languages
\starttext
\setupfooter [state=start]
\page[1]
\startfrontmatter
{\midaligned {\tfc{\WORD{Hello World
\placecontent[extras={22=page},alternative=c]
\stopfrontmatter
\page[yes
\setupfooter [state=start]
\page[1]
\startfrontmatter
{\midaligned {\tfc{\WORD{Hello World
\placecontent[extras={22=page},alternative=c]
\stopfrontmatter
\page[yes]
\startbodymatter
\section{1. Russian: Привет мир!} Russian: Привет мир! \\
\section
Hi John,
Maybe playing with something like what follows will help:
begin tilted-framed.tex
\starttext
\placeintermezzo[right,none]{}
\rotate[rotation=-10]{\startframedtext[width=3in]
\midaligned{\bf RECIPE FOR SUCCESS}
\par
\noindent
\blank[4mm]
Contact info: {\sl i...@enterprisechess.com}\crlf Web site: {\sl
http://enterprisechess.com}\crlf Suggested hashtag: {\sl \#eachess}
\stop
\stopstandardmakeup
\startstandardmakeup[doublesided=no]
\start
\switchtobodyfont[16pt]
\midaligned{The world is not {\blackboard Q}, it is {\blackboard R
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote:
remeve the placefigure in that line, so :
\midaligned
{\externalfigure
[Makeup/Images/Cartesian_Theatre.svg]
[width=0.25\textwidth]}
a midaligned is a hbox while a placefigure operates in the mvl
Thanks
with the following error:
tex errorerror on line 32 in file
Handbook/Handbook.tex: ! You can't use `\prevdepth' in
restricted horizontal mode
Any help appreciated.
remeve the placefigure in that line, so :
\midaligned
{\externalfigure
[Makeup/Images
On 1/26/2015 7:26 PM, Kip Warner wrote:
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote:
remeve the placefigure in that line, so :
\midaligned
{\externalfigure
[Makeup/Images/Cartesian_Theatre.svg]
[width=0.25\textwidth]}
a midaligned is a hbox while
]
\widthspanningtext{text}{.5\textwidth}{Serif}
\stopalign
\hfill\widthspanningtext{text}{.5\textwidth}{Serif}
\stoptext
Am I missing something or is \hfill the only way to align the contents
from \widthspanningtext?
Use
\midaligned{\WidthSpanningText
\hairline\stop
\rightaligned{2014}%
\stopstandardmakeup
\stop
Copyright notice (should be lower left on first lefthand side page)
\page[yes]
\start
\switchtobodyfont[16pt]
~%otherwise \blank does nothing
\blank[6cm]
\midaligned{Statement, centered first righthand side page}
\stop
\startfrontmatter
(should be lower left on first lefthand side page)
\page[yes]
\start
\switchtobodyfont[16pt]
~%otherwise \blank does nothing
\blank[6cm]
\midaligned{Statement, centered first righthand side page}
\stop
\startfrontmatter
[state=start]
\usemodule[tikz]
\usemodule[pgfplots]
\starttext
\midaligned{%
\starttikzpicture
\startaxis[
xmin=-3, xmax=3,
ymin=-3, ymax=3,
extra x ticks={-1,1},
extra y ticks={-2,2},
extra tick style={grid=major},
]
\draw[red] \pgfextra{
\pgfpathellipse{\pgfplotspointaxisxy{0}{0
Dear Mikael,
An example from PGFPlots Gallery.
Please try if it works. Here on windows, it seems to work.
Attached files are tt.log.txt and tt.pdf.
Best,
Akira
%
% tt.tex: from PGFPlots Gallery
%
\setupcolors[state=start]
\usemodule[tikz]
\usemodule[pgfplots]
\starttext
\midaligned
Hi,
In this code, the figure is placed on the base line. How to make the
numbering at the top of the figure ?
\starttext
\startitemize[n][stopper=),style=bf]
\item \midaligned{\externalfigure[figure1_reperage.pdf]}
\startitemize[a][stopper=),style=bf]
\item Donner les coordonnées des points
Am 02.09.2014 um 12:43 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hi,
In this code, the figure is placed on the base line. How to make the
numbering at the top of the figure ?
\starttext
\startitemize[n][stopper=),style=bf]
\item \midaligned{\externalfigure
:
\definepapersize[book][width=5.06in,height=7.81in]
\setuppapersize [book][]
\setuplayout
[width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm]
\starttext
\dorecurse{2}{\input ward \blank}
\midaligned
\framed[frame=off,width=5cm,align={width
shows these effects:
\definepapersize[book][width=5.06in,height=7.81in]
\setuppapersize [book][]
\setuplayout
[width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm]
\starttext
\dorecurse{2}{\input ward \blank}
\midaligned
\framed[frame=off,width=5cm
,height=7.81in]
\setuppapersize [book][]
\setuplayout
[width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm]
\starttext
\dorecurse{2}{\input ward \blank}
\midaligned
\framed[frame=off,width=5cm,align={width,nothyphenated,verytolerant,stretch},before
As the following example shows, just trying to add a footnote to a
midaligned sentence is not that easy: either the footnote index is
(dis)placed to the right margin or the footnote body does not show at its
proper place (at the end of the page).
Is there a way to make both things fit?
Regards
Am 01.09.2014 um 09:04 schrieb Francisco Gracia fgragu...@gmail.com:
As the following example shows, just trying to add a footnote to a
midaligned sentence is not that easy: either the footnote index is
(dis)placed to the right margin or the footnote body does not show at its
proper place
}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox}%
\fi}
\hbox}
\definefloat [widefigure] [figure] [figure]
\setupfloat [widefigure] [command=\WideFloatCommand]
\usemodule[tikz]
\showframe
\starttext
x
\page
\startplacewidefigure
\framed[width=\measure
] {Five};
\stoptikzpicture}
\stopplacewidefigure
\startplacewidefigure
\midaligned{%
\starttikzpicture
\node [draw, minimum width=3cm] {Six};
\stoptikzpicture}
\stopplacewidefigure
\stoptext
___
If your question
+\rightmargindistance+\rightmarginwidth]
\setupfloat[figure][command=\FigureCommand]
\define\FigureCommand
{\dowithnextbox
{\signalrightpage
\ifdim\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
\else
\midaligned
+\rightmarginwidth]
\setupfloat[figure][command=\FigureCommand]
\define\FigureCommand
{\dowithnextbox
{\signalrightpage
\ifdim\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox}%
\fi
\midaligned{\flushnextbox}%
\fi}
\hbox}
\showframe
\starttext
\startplacefigure
\framed[width=.8\textwidth,framecolor=red]{Left margin}
\stopplacefigure
\page
\startplacefigure
\framed[width=\measure{Widefigure},framecolor=red]{Left margin}
\stopplacefigure
\input knuth
\page
+\rightmarginwidth]
\setupfloat[figure][command=\FigureCommand]
\define\FigureCommand
{\dowithnextbox
{\signalrightpage
\ifdim\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox}%
\fi
+\rightmarginwidth]
\setupfloat[figure][command=\FigureCommand]
\define\FigureCommand
{\dowithnextbox
{\signalrightpage
\ifdim\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox
\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox}%
\fi}
\hbox}
\showframe
\starttext
\startplacefigure[location={270, page}]
\framed[width=\textheight,framecolor=red]{Turned
not use the full width
of the paper
(b) it is a long table, crossing a page end
(c) the whole table should be centered
I tried the source below and obviously made a mistake somewhere.
Any suggestions?
Robert
Test source:
\starttext
\input knuth
\setuptabulate[split=yes]
\midaligned
width ... pretty hard to
do otherwise
Robert
Test source:
\starttext
\input knuth
\setuptabulate[split=yes]
\midaligned { %%% -- THIS DOES NOT WORK -- it does not center the entire table
\starttabulate [|p(.5\textwidth)|p(.2\textwidth)|]
\dorecurse{4}{
\NC
Nu laat ik je iets zien in een
1 - 100 of 470 matches
Mail list logo